const fs = require('fs');

const file = process.argv[2] ?? __filename

const lines = fs.readFileSync(file, 'utf-8').split('\n')

for (let i = 1; i <= lines.length; i++) {
  lines[i] = (i + 1) + '\t' + lines[i]
}

//console.log(lines);
//console.exit()

console.log(lines.join('\n'));
